package edu.fight.service;

import edu.fight.dao.UserDao;
import edu.fight.entity.User;
import lombok.extern.slf4j.Slf4j;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

@Service
@Slf4j
public class UserService {

    @Autowired
    UserDao userDao;


    public User findByUsername(String username) {
        return userDao.findByUsername(username);
    }
}
